package com.boatAnchorAssistant.service.repository.in;

import com.boatAnchorAssistant.pojo.entity.AlarmPushLog;
import nirvana.core.repository.IRepository;
import com.boatAnchorAssistant.pojo.dto.alarmPushLog.SelectAlarmPushLogDto;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;
import java.util.Map;

/**
 * 【描 述】：
 * 【环 境】：J2SE
 * 【详 细】：
 */
public interface AlarmPushLogRepository extends IRepository<AlarmPushLog> {


    /**
     * 搜索报警推送日志
     *
     * @param dto
     * @return
     */
    Page<AlarmPushLog> selectAlarmPushLog(SelectAlarmPushLogDto dto);

    /**
     * 获取Map
     *
     * @param ids
     * @return
     */
    Map<Long, AlarmPushLog> getMap(List<Long> ids);

}